home *** CD-ROM | disk | FTP | other *** search
- on check thisList
- set total to 0
- if getOne(thisList, "pick") <> 0 then
- set total to total + 1
- end if
- if getOne(thisList, "pointy shovel") <> 0 then
- set total to total + 1
- end if
- if getOne(thisList, "drill") <> 0 then
- set total to total + 1
- end if
- if getOne(thisList, "ladder") <> 0 then
- set total to total + 1
- end if
- return total
- end
-